package com.glink.manage.service;

import com.glink.manage.domain.WeatherBean;
import com.baomidou.mybatisplus.extension.service.IService;
import com.glink.manage.vo.view.SiteWeatherVO;
import com.glink.manage.vo.weather.PlaceNameQueryVO;
import com.glink.manage.vo.weather.QueryWeatherPlaceNameVO;

/**
 * @author  qiushaoshan
 * @since  2025-02-19
 */
public interface WeatherService extends IService<WeatherBean> {

    /**
     * 根据地名查询地理位置
     * @param area 地名
     * @return 地理位置
     */
    PlaceNameQueryVO getPlaceNameByArea(String area);

    /**
     * 根据地区code查询天气
     * @param areaCode 地区code
     * @return 天气信息
     */
    SiteWeatherVO findWeatherByAreaCode(String areaCode);
}
